package com.example.demo.service;

import com.example.demo.mapper.CityMapper;
import com.example.demo.pojo.City;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CityServiceImpl implements CityService{
    @Resource
    CityMapper mapper;

    @Override
    public List<City> getSelectCity() {
        return mapper.selectByExample(null);
    }
}
